﻿<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/bootstrap/css/bootstrap.css")" rel="stylesheet" type="text/css" media="screen" />
    <link href="@Url.Content("~/Content/bootstrap/css/bootstrap-overrides.css")" rel="stylesheet" type="text/css" media="screen" />
    <link href="@Url.Content("~/Content/bootstrap/css/redmond/jquery-ui-1.9.2.custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/bootstrap/css/bootstrap-sticky-footer.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/bootstrap/js/bootstrap.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/bootstrap/js/bootstrap-dropdown.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/bootstrap/js/bootstrap-modal.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/FuncoesBON.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/login.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/MicrosoftAjax.debug.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.debug.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/MicrosoftMvcValidation.debug.js")" type="text/javascript"></script>
    <link rel="shortcut icon" href="@Url.Content("~/Content/bootstrap/img/favicon.ico")" type="image/x-icon" />
    <link rel="icon" href="@Url.Content("~/Content/bootstrap/img/favicon.ico")" type="image/x-icon" />
    <style type="text/css">
        body {
            padding-top: 60px;
            padding-bottom: 40px;
        }
    </style>
    <link href="@Url.Content("~/Content/bootstrap/css/bootstrap-responsive.css")" rel="stylesheet" type="text/css" media="screen" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("[rel=tooltip]").tooltip();
            $(".dropdown-toggle").dropdown();
        });
    </script>
</head>
@{
    JPSOFTWARE.BON.Modelos.UsuarioModel usuarioModel = new JPSOFTWARE.BON.Modelos.UsuarioModel();
}
@if (usuarioModel != null)
{
    usuarioModel = Session["DadosUsuario"] as JPSOFTWARE.BON.Modelos.UsuarioModel;
}
<body>
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span
                    class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                </a><a class="brand" href="@Url.Action("Index", "Inicio", new { Area = String.Empty })">
                    <img src="@Url.Content("~/Content/bootstrap/img/logo_modificada_menor.png")" title="Bebida Social" alt="Bebida
        Social" /></a>
                <div class="nav-collapse collapse">
                    <ul class="nav">
                        <li class="divider-vertical"></li>
                        <li><a href="@Url.Action("Inicial", "Inicio", new { Area = string.Empty })"><i class="icon-home"></i>&nbsp;Início</a></li>
                        <li class="divider-vertical"></li>
                        @if (usuarioModel != null)
                        {
                            if (usuarioModel.TipoUsuario == (int)JPSOFTWARE.BON.Modelos.TipoUsuarioModel.Administrador)
                            {                   
                            @Html.Partial("Menu_Administrador", usuarioModel)                            
                            }
                            else if (usuarioModel.TipoUsuario == (int)JPSOFTWARE.BON.Modelos.TipoUsuarioModel.Usuario)
                            { 
                            @Html.Partial("Menu_Distribuidora", usuarioModel)                            
                            }
                            else
                            { 
                            @Html.Partial("Menu", usuarioModel)                            
                            }
                        }
                        <li><a href="@Url.Action("Feedback", "Inicio", new { Area = string.Empty })"><i class="icon-bullhorn"></i>&nbsp;Feedback</a></li>
                        <li class="divider-vertical"></li>
                    </ul>
                </div>
                <div class="span2 pull-right">
                    <b>Siga-nos</b>&nbsp;<a href="https://twitter.com/bebidasocial" rel="tooltip" target="_blank" class="sb circle twitter" data-placement="bottom" data-original-title="Twitter">Twitter</a>
                    <a href="#" rel="tooltip" class="sb circle facebook" data-placement="bottom" data-original-title="Facebook">Facebook</a>
                    @*<a href="#" rel="tooltip" class="sb circle youtube" data-placement="bottom" data-original-title="Youtube">Youtube</a>
                     <a href="#" rel="tooltip" class="sb circle linkedin" data-original-title="LinkedIn">LinkedIn</a>
                <a href="#" rel="tooltip" class="sb circle pinterest" data-original-title="Pinterest">Pinterest</a> 
                <a href="#" rel="tooltip" class="sb circle rss" data-original-title="RSS">RSS</a>
                <a href="#" rel="tooltip" class="sb circle share_this" data-original-title="Share this">Share</a>*@
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <div class="span12">
                @RenderBody()
            </div>
        </div>
    </div>
    @* <footer>
        <hr />
        <div class="span3">
            <h5>
                Bebida Social</h5>
            <i class="icon-envelope"></i>&nbsp;contato@bebidasocial.com.br
            <br />
            <i class="icon-map-marker"></i>&nbsp;Brasília - Distrito Federal - Brasil
        </div>
               <div class="span4">
            <h5>
                Redes Sociais</h5>
            <a href="#" rel="tooltip" class="sb circle twitter" data-original-title="Twitter">Twitter</a>
            <a href="#" rel="tooltip" class="sb circle facebook" data-original-title="Facebook">
                Facebook</a> <a href="#" rel="tooltip" class="sb circle youtube" data-original-title="Youtube">
                    Youtube</a><a href="#" rel="tooltip" class="sb circle linkedin" data-original-title="LinkedIn">LinkedIn</a>
                <a href="#" rel="tooltip" class="sb circle pinterest" data-original-title="Pinterest">Pinterest</a> 
                <a href="#" rel="tooltip" class="sb circle rss" data-original-title="RSS">RSS</a>
                <a href="#" rel="tooltip" class="sb circle share_this" data-original-title="Share this">Share</a>
        </div>
    </footer>*@
</body>
</html>
